package p1;

public class Test {

    public static void main(String[] args) {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        TestHeap testHeap = new TestHeap();

        testHeap.init(array);
        testHeap.createHeap();
        testHeap.headSort();
        System.out.println("=====");
    }

    public static void main1(String[] args) {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        TestHeap testHeap = new TestHeap();
        //testHeap.init(array);

        //testHeap.createHeap();
        //System.out.println("======");

        //testHeap.offer(100);
        //System.out.println("======");

        //testHeap.poll();
        //System.out.println("=====");
    }
}
